package com.ihtry.utils;


/**
 * 通用返回码
 */
public class Code {

    //添加
    public static final Integer ADD_OK = 20010;
    public static final Integer ADD_ERR = 20011;
    //查询
    public static final Integer GET_OK = 20020;
    public static final Integer GET_ERR = 20021;
    //删除
    public static final Integer DELETE_OK = 20030;
    public static final Integer DELETE_ERR = 20031;
    //更新
    public static final Integer UPDATE_OK = 20040;
    public static final Integer UPDATE_ERR = 20041;

    //登录
    public static final Integer LOGIN_OK = 20050;
    public static final Integer LOGIN_ERR = 20051;

    //注册
    public static final Integer REG_OK = 20060;
    public static final Integer REG_ERR = 20061;

}
